<!doctype html>
<html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false"%>
<head>
    <title>多车Flash视频监控</title>
    <%@ include file="videoHead.jsp"%>
</head>
<body class="videoMulti">
<div class="height100">
	<iframe frameborder="1" width="100%" height="100%" src="" scrolling="no" id="ltiframe"></iframe> 
	<!-- <div class="height100 width50 fl">
		<div class="height50 overhidden" style="border-style:double;border-color:#666;">
			<iframe frameborder="1" width="100%" height="100%" src="" scrolling="no" id="ltiframe"></iframe> 
		</div>
		<div class="height50 overhidden" style="border-style:double;border-color:#666;">
			<iframe frameborder="1" width="100%" height="100%" src="" scrolling="no" id="ldiframe"></iframe> 
		</div>
	</div> -->
	<!-- <div class="height100 width50 fl ">
		<div class="height50 overhidden" style="border-style:double;border-color:#666;">
			<iframe frameborder="1" width="100%" height="100%" src="" scrolling="no" id="rtiframe"></iframe> 
		</div>
		<div class="height50 overhidden" style="border-style:double;border-color:#666;">
			<iframe frameborder="1" width="100%" height="100%" src="" scrolling="no" id="rdiframe"></iframe> 
		</div>
	</div> -->
</div>
<div style="height:0px;position:fixed;top:7px">

</div>
<script>
var vehicleID1 ="${vehicleID1}";	
var vehicleID2 ="${vehicleID2}";	
var vehicleID3 ="${vehicleID3}";	
var vehicleID4 ="${vehicleID4}";	

var commno1 ="";
var commno2 ="";
var commno3 ="";
var commno4 ="";
var  appCtx="${appCtx}";


$(function(){ 
	try{
		$("#ltiframe").attr("src", appCtx + "/video/videoMonitorMinFlash.html?vehicleID="+vehicleID1+"&position=1");
		/* $("#rtiframe").attr("src", appCtx + "/video/videoMonitorMinFlash.html?vehicleID="+vehicleID2+"&position=2");
		$("#ldiframe").attr("src", appCtx + "/video/videoMonitorMinFlash.html?vehicleID="+vehicleID3+"&position=3");
		$("#rdiframe").attr("src", appCtx + "/video/videoMonitorMinFlash.html?vehicleID="+vehicleID4+"&position=4"); */
		
	}catch(e){
		  
	}
});

function changeIframe(vehcileid,positionNum,commno){
	if(positionNum=="1"){
		vehicleID1 =vehcileid;
		commno1=commno;
		$("#ltiframe").attr("src", appCtx + "/video/videoMonitorFlash.html?vehicleID="+vehcileid+"&position=1");	
	}
   /* 	if(positionNum=="2"){
   		vehicleID2 =vehcileid;
   		commno2=commno;
   		$("#rtiframe").attr("src", appCtx + "/video/videoMonitorFlash.html?vehicleID="+vehcileid+"&position=2");
	}
	if(positionNum=="3"){
		vehicleID3 =vehcileid;
		commno3=commno;
		$("#ldiframe").attr("src", appCtx + "/video/videoMonitorFlash.html?vehicleID="+vehcileid+"&position=3");
	}
	if(positionNum=="4"){
		vehicleID4 =vehcileid;
		commno4=commno;
		$("#rdiframe").attr("src", appCtx + "/video/videoMonitorFlash.html?vehicleID="+vehcileid+"&position=4");
	} */
}
</script>
</body>
</html>